<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>UniMRCP: apt_task.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">UniMRCP
   &#160;<span id="projectnumber">1.5.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li><li class="navelem"><a class="el" href="dir_995e6b30ef7b7f0b2dec48039971ec97.html">apr-toolkit</a></li><li class="navelem"><a class="el" href="dir_af55bba262e1419c3a74fbffa32b25cc.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">apt_task.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Thread Execution Abstraction.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="apt_8h_source.html">apt.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="apt__task__msg_8h_source.html">apt_task_msg.h</a>&quot;</code><br/>
</div>
<p><a href="apt__task_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapt__task__vtable__t.html">apt_task_vtable_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a1b5b1eaf9cb77eaab758e6a79e1469c7"><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
typedefAPT_BEGIN_EXTERN_C <br class="typebreak"/>
struct <a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a></td></tr>
<tr class="separator:a1b5b1eaf9cb77eaab758e6a79e1469c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a691997c0b5d7cee23322678af49d404d"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structapt__task__vtable__t.html">apt_task_vtable_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a691997c0b5d7cee23322678af49d404d">apt_task_vtable_t</a></td></tr>
<tr class="separator:a691997c0b5d7cee23322678af49d404d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07692410e83428f8eaebdf0ac35b9943"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a07692410e83428f8eaebdf0ac35b9943">apt_task_method_f</a> )(<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:a07692410e83428f8eaebdf0ac35b9943"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0e7fdd9f051a685a90d2a0d06448bba"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#ac0e7fdd9f051a685a90d2a0d06448bba">apt_task_event_f</a> )(<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:ac0e7fdd9f051a685a90d2a0d06448bba"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:afd8d1c99910ce571ba581460bd8b9115"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#afd8d1c99910ce571ba581460bd8b9115">apt_task_create</a> (void *obj, <a class="el" href="apt__task__msg_8h.html#a514fa832615c1446e75591ac43855abc">apt_task_msg_pool_t</a> *msg_pool, apr_pool_t *pool)</td></tr>
<tr class="separator:afd8d1c99910ce571ba581460bd8b9115"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae1797551251982176331f221e3c0c64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#aae1797551251982176331f221e3c0c64">apt_task_destroy</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:aae1797551251982176331f221e3c0c64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa46eb6e3b1aef8b37f201212845627b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#aa46eb6e3b1aef8b37f201212845627b9">apt_task_add</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task, <a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *child_task)</td></tr>
<tr class="separator:aa46eb6e3b1aef8b37f201212845627b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91c78aae92ef53bd13541f22b16898ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a91c78aae92ef53bd13541f22b16898ab">apt_task_start</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:a91c78aae92ef53bd13541f22b16898ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a165aa815ea802150ee8d052483a7eb89"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a165aa815ea802150ee8d052483a7eb89">apt_task_offline</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:a165aa815ea802150ee8d052483a7eb89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae542cfec879ef9c15dca48d1fe999006"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#ae542cfec879ef9c15dca48d1fe999006">apt_task_online</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:ae542cfec879ef9c15dca48d1fe999006"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2da7cc0cfb9eecbdcf43d146fd3d2610"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a2da7cc0cfb9eecbdcf43d146fd3d2610">apt_task_terminate</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task, <a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> wait_till_complete)</td></tr>
<tr class="separator:a2da7cc0cfb9eecbdcf43d146fd3d2610"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff46236b988d71a0dcb92038d68dfc06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#aff46236b988d71a0dcb92038d68dfc06">apt_task_wait_till_complete</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:aff46236b988d71a0dcb92038d68dfc06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1cd756404e615c1de1b6a3593b9dbcb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structapt__task__msg__t.html">apt_task_msg_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#ab1cd756404e615c1de1b6a3593b9dbcb">apt_task_msg_get</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:ab1cd756404e615c1de1b6a3593b9dbcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9a1f354924f87f1debe228effb6695f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#ad9a1f354924f87f1debe228effb6695f">apt_task_msg_signal</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task, <a class="el" href="structapt__task__msg__t.html">apt_task_msg_t</a> *msg)</td></tr>
<tr class="separator:ad9a1f354924f87f1debe228effb6695f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fea595a33fbb1285edcdd6e5bc69e0f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a0fea595a33fbb1285edcdd6e5bc69e0f">apt_task_msg_parent_signal</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task, <a class="el" href="structapt__task__msg__t.html">apt_task_msg_t</a> *msg)</td></tr>
<tr class="separator:a0fea595a33fbb1285edcdd6e5bc69e0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ca676ee968bb9b4577a414beaa2fb6b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a4ca676ee968bb9b4577a414beaa2fb6b">apt_task_msg_process</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task, <a class="el" href="structapt__task__msg__t.html">apt_task_msg_t</a> *msg)</td></tr>
<tr class="separator:a4ca676ee968bb9b4577a414beaa2fb6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1abe2c4208fdb12d7ae3b4dd38d2874b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a1abe2c4208fdb12d7ae3b4dd38d2874b">apt_task_start_request_process</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:a1abe2c4208fdb12d7ae3b4dd38d2874b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24cb5a548bee6f8289bcc65bebdceb79"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a24cb5a548bee6f8289bcc65bebdceb79">apt_task_terminate_request_process</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:a24cb5a548bee6f8289bcc65bebdceb79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b92d73dbdd217c6d86409e71f6765ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a2b92d73dbdd217c6d86409e71f6765ae">apt_task_parent_get</a> (const <a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:a2b92d73dbdd217c6d86409e71f6765ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a892c468ac49aea9120fbef39c78f7cc2"><td class="memItemLeft" align="right" valign="top">apr_pool_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a892c468ac49aea9120fbef39c78f7cc2">apt_task_pool_get</a> (const <a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:a892c468ac49aea9120fbef39c78f7cc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f648629c0dfed8e62e715d092cdab9b"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a1f648629c0dfed8e62e715d092cdab9b">apt_task_object_get</a> (const <a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:a1f648629c0dfed8e62e715d092cdab9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ee7d42c710dc07b8905edded7650e29"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structapt__task__vtable__t.html">apt_task_vtable_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a4ee7d42c710dc07b8905edded7650e29">apt_task_vtable_get</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:a4ee7d42c710dc07b8905edded7650e29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a550df4092f51c66a5b9ea62dcda9a565"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a550df4092f51c66a5b9ea62dcda9a565">apt_task_name_set</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task, const char *name)</td></tr>
<tr class="separator:a550df4092f51c66a5b9ea62dcda9a565"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf7792c4549222152e300264f2cacf52"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#acf7792c4549222152e300264f2cacf52">apt_task_name_get</a> (const <a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:acf7792c4549222152e300264f2cacf52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab81b477d07dfa26461b89b6ba8304132"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#ab81b477d07dfa26461b89b6ba8304132">apt_task_auto_ready_set</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task, <a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> auto_ready)</td></tr>
<tr class="separator:ab81b477d07dfa26461b89b6ba8304132"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad41510a17cb7eb7249850e88ffafc0e8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#ad41510a17cb7eb7249850e88ffafc0e8">apt_task_ready</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:ad41510a17cb7eb7249850e88ffafc0e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5185c63990a55fe382ca125cef0dacd1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a5185c63990a55fe382ca125cef0dacd1">apt_task_running_flag_get</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:a5185c63990a55fe382ca125cef0dacd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aceff65ba79c941a9dc4ded19cdfab705"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#aceff65ba79c941a9dc4ded19cdfab705">apt_task_start_request_add</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:aceff65ba79c941a9dc4ded19cdfab705"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58aa1f9269b43fe367374c7e3d5663fd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a58aa1f9269b43fe367374c7e3d5663fd">apt_task_start_request_remove</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:a58aa1f9269b43fe367374c7e3d5663fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae05341a9298bf53f899eb0a8c48975c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#ae05341a9298bf53f899eb0a8c48975c4">apt_task_terminate_request_add</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:ae05341a9298bf53f899eb0a8c48975c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06d8e50d321311710e64d392fbefa70a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a06d8e50d321311710e64d392fbefa70a">apt_task_terminate_request_remove</a> (<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td></tr>
<tr class="separator:a06d8e50d321311710e64d392fbefa70a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d57f8eff4327f49e82296cbe52b8fe3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__task_8h.html#a6d57f8eff4327f49e82296cbe52b8fe3">apt_task_delay</a> (apr_size_t msec)</td></tr>
<tr class="separator:a6d57f8eff4327f49e82296cbe52b8fe3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Thread Execution Abstraction. </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ac0e7fdd9f051a685a90d2a0d06448bba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* apt_task_event_f)(<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Opaque task event declaration </p>

</div>
</div>
<a class="anchor" id="a07692410e83428f8eaebdf0ac35b9943"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>(* apt_task_method_f)(<a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *task)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Opaque task method declaration </p>

</div>
</div>
<a class="anchor" id="a1b5b1eaf9cb77eaab758e6a79e1469c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef typedefAPT_BEGIN_EXTERN_C struct <a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> <a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Opaque task declaration </p>

</div>
</div>
<a class="anchor" id="a691997c0b5d7cee23322678af49d404d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structapt__task__vtable__t.html">apt_task_vtable_t</a> <a class="el" href="structapt__task__vtable__t.html">apt_task_vtable_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Opaque task virtual table declaration </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="aa46eb6e3b1aef8b37f201212845627b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>child_task</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add child task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to add child task to </td></tr>
    <tr><td class="paramname">child_task</td><td>the child task to add </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab81b477d07dfa26461b89b6ba8304132"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apt_task_auto_ready_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td>
          <td class="paramname"><em>auto_ready</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Enable/disable auto ready mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to set mode for </td></tr>
    <tr><td class="paramname">auto_ready</td><td>the enabled/disabled auto ready mode </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afd8d1c99910ce571ba581460bd8b9115"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a>* apt_task_create </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="apt__task__msg_8h.html#a514fa832615c1446e75591ac43855abc">apt_task_msg_pool_t</a> *&#160;</td>
          <td class="paramname"><em>msg_pool</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>the external object to associate with the task </td></tr>
    <tr><td class="paramname">msg_pool</td><td>the pool of task messages </td></tr>
    <tr><td class="paramname">pool</td><td>the pool to allocate memory from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6d57f8eff4327f49e82296cbe52b8fe3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apt_task_delay </td>
          <td>(</td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>msec</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Hold task execution. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">msec</td><td>the time to hold </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aae1797551251982176331f221e3c0c64"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destroy task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to destroy </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab1cd756404e615c1de1b6a3593b9dbcb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structapt__task__msg__t.html">apt_task_msg_t</a>* apt_task_msg_get </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get (acquire) task message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to get task message from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0fea595a33fbb1285edcdd6e5bc69e0f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_msg_parent_signal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structapt__task__msg__t.html">apt_task_msg_t</a> *&#160;</td>
          <td class="paramname"><em>msg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Signal (post) message to the parent of the specified task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to signal message to </td></tr>
    <tr><td class="paramname">msg</td><td>the message to signal </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4ca676ee968bb9b4577a414beaa2fb6b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_msg_process </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structapt__task__msg__t.html">apt_task_msg_t</a> *&#160;</td>
          <td class="paramname"><em>msg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Process message signaled to the task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to process message </td></tr>
    <tr><td class="paramname">msg</td><td>the message to process </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad9a1f354924f87f1debe228effb6695f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_msg_signal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structapt__task__msg__t.html">apt_task_msg_t</a> *&#160;</td>
          <td class="paramname"><em>msg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Signal (post) message to the task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to signal message to </td></tr>
    <tr><td class="paramname">msg</td><td>the message to signal </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acf7792c4549222152e300264f2cacf52"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* apt_task_name_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get task name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to get name from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a550df4092f51c66a5b9ea62dcda9a565"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apt_task_name_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Give a name to the task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to give name for </td></tr>
    <tr><td class="paramname">name</td><td>the name to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1f648629c0dfed8e62e715d092cdab9b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* apt_task_object_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get external object associated with the task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to get object from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a165aa815ea802150ee8d052483a7eb89"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_offline </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Take task offline. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to take offline </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae542cfec879ef9c15dca48d1fe999006"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_online </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Bring task online. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to bring online </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2b92d73dbdd217c6d86409e71f6765ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a>* apt_task_parent_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get parent (master) task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to get parent from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a892c468ac49aea9120fbef39c78f7cc2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">apr_pool_t* apt_task_pool_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get memory pool associated with task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to get pool from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad41510a17cb7eb7249850e88ffafc0e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_ready </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Explicitly indicate task is ready to process messages. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5185c63990a55fe382ca125cef0dacd1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>* apt_task_running_flag_get </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the running flag. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a91c78aae92ef53bd13541f22b16898ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Start task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to start </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aceff65ba79c941a9dc4ded19cdfab705"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_start_request_add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add start request. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1abe2c4208fdb12d7ae3b4dd38d2874b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_start_request_process </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Process task start request. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task being started </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a58aa1f9269b43fe367374c7e3d5663fd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_start_request_remove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Remove start request. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2da7cc0cfb9eecbdcf43d146fd3d2610"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_terminate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td>
          <td class="paramname"><em>wait_till_complete</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Terminate task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to terminate </td></tr>
    <tr><td class="paramname">wait_till_complete</td><td>whether to wait for task to complete or process termination asynchronously </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae05341a9298bf53f899eb0a8c48975c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_terminate_request_add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add termination request. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a24cb5a548bee6f8289bcc65bebdceb79"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_terminate_request_process </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Process task termination request. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task being terminated </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a06d8e50d321311710e64d392fbefa70a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_terminate_request_remove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Remove termination request. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4ee7d42c710dc07b8905edded7650e29"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structapt__task__vtable__t.html">apt_task_vtable_t</a>* apt_task_vtable_get </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get task vtable. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to get vtable from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aff46236b988d71a0dcb92038d68dfc06"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_task_wait_till_complete </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Wait for task till complete. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>the task to wait for </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 22 2017 10:11:48 for UniMRCP by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
